package com.example.clxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Innovation {
    private String innovationid;

    private String innovationname;

    private String innovationintro;

    private String innovationcontent;

    private String innovationskill;

    private Integer maxnums;

    private String applystatus;

    private String finishstatus;

    private String withdrawreason;

    private String rejectreason;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applydate;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishdate;

    private String flag;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedTime;

    public Innovation(String innovationid, String innovationname, String innovationintro, String innovationcontent, String innovationskill, Integer maxnums, String applystatus, String finishstatus, String withdrawreason, String rejectreason, Date applydate, Date publishdate, String flag, Date createdTime, Date updatedTime) {
        this.innovationid = innovationid;
        this.innovationname = innovationname;
        this.innovationintro = innovationintro;
        this.innovationcontent = innovationcontent;
        this.innovationskill = innovationskill;
        this.maxnums = maxnums;
        this.applystatus = applystatus;
        this.finishstatus = finishstatus;
        this.withdrawreason = withdrawreason;
        this.rejectreason = rejectreason;
        this.applydate = applydate;
        this.publishdate = publishdate;
        this.flag = flag;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }

    public Innovation() {
        super();
    }

    public String getInnovationid() {
        return innovationid;
    }

    public void setInnovationid(String innovationid) {
        this.innovationid = innovationid == null ? null : innovationid.trim();
    }

    public String getInnovationname() {
        return innovationname;
    }

    public void setInnovationname(String innovationname) {
        this.innovationname = innovationname == null ? null : innovationname.trim();
    }

    public String getInnovationintro() {
        return innovationintro;
    }

    public void setInnovationintro(String innovationintro) {
        this.innovationintro = innovationintro == null ? null : innovationintro.trim();
    }

    public String getInnovationcontent() {
        return innovationcontent;
    }

    public void setInnovationcontent(String innovationcontent) {
        this.innovationcontent = innovationcontent == null ? null : innovationcontent.trim();
    }

    public String getInnovationskill() {
        return innovationskill;
    }

    public void setInnovationskill(String innovationskill) {
        this.innovationskill = innovationskill == null ? null : innovationskill.trim();
    }

    public Integer getMaxnums() {
        return maxnums;
    }

    public void setMaxnums(Integer maxnums) {
        this.maxnums = maxnums;
    }

    public String getApplystatus() {
        return applystatus;
    }

    public void setApplystatus(String applystatus) {
        this.applystatus = applystatus == null ? null : applystatus.trim();
    }

    public String getFinishstatus() {
        return finishstatus;
    }

    public void setFinishstatus(String finishstatus) {
        this.finishstatus = finishstatus == null ? null : finishstatus.trim();
    }

    public String getWithdrawreason() {
        return withdrawreason;
    }

    public void setWithdrawreason(String withdrawreason) {
        this.withdrawreason = withdrawreason == null ? null : withdrawreason.trim();
    }

    public String getRejectreason() {
        return rejectreason;
    }

    public void setRejectreason(String rejectreason) {
        this.rejectreason = rejectreason == null ? null : rejectreason.trim();
    }

    public Date getApplydate() {
        return applydate;
    }

    public void setApplydate(Date applydate) {
        this.applydate = applydate;
    }

    public Date getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Date publishdate) {
        this.publishdate = publishdate;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag == null ? null : flag.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}